Optimal. Leaf size=16 \[ \frac {1}{2} \text {Li}_2\left (1-\frac {x^2}{c}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2374, 2352}
\begin {gather*} \frac {1}{2} \text {PolyLog}\left (2,1-\frac {x^2}{c}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2352
Rule 2374
Rubi steps
\begin {align*} \int \frac {x \log \left (\frac {x^2}{c}\right )}{c-x^2} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {\log \left (\frac {x}{c}\right )}{c-x} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Li}_2\left (1-\frac {x^2}{c}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 17, normalized size = 1.06 \begin {gather*} \frac {1}{2} \text {Li}_2\left (\frac {c-x^2}{c}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.10, size = 53, normalized size = 3.31
method | result | size |
default | \(\frac {\left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{2}-c \right )}{\sum }\left (-\ln \left (x -\underline {\hspace {1.25 ex}}\alpha \right ) \ln \left (\frac {x^{2}}{c}\right )+2 \dilog \left (\frac {x}{\underline {\hspace {1.25 ex}}\alpha }\right )+2 \ln \left (x -\underline {\hspace {1.25 ex}}\alpha \right ) \ln \left (\frac {x}{\underline {\hspace {1.25 ex}}\alpha }\right )\right )\right )}{2}\) | \(53\) |
risch | \(\frac {\left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{2}-c \right )}{\sum }\left (-\ln \left (x -\underline {\hspace {1.25 ex}}\alpha \right ) \ln \left (\frac {x^{2}}{c}\right )+2 \dilog \left (\frac {x}{\underline {\hspace {1.25 ex}}\alpha }\right )+2 \ln \left (x -\underline {\hspace {1.25 ex}}\alpha \right ) \ln \left (\frac {x}{\underline {\hspace {1.25 ex}}\alpha }\right )\right )\right )}{2}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs.
\(2 (13) = 26\).
time = 0.29, size = 58, normalized size = 3.62 \begin {gather*} -\frac {1}{2} \, \log \left (x^{2} - c\right ) \log \left (\frac {x^{2}}{c}\right ) + \frac {1}{2} \, \log \left (x^{2} - c\right ) \log \left (\frac {x^{2} - c}{c} + 1\right ) + \frac {1}{2} \, {\rm Li}_2\left (-\frac {x^{2} - c}{c}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 13, normalized size = 0.81 \begin {gather*} \frac {1}{2} \, {\rm Li}_2\left (-\frac {x^{2}}{c} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 3.21, size = 117, normalized size = 7.31 \begin {gather*} \begin {cases} - \frac {\operatorname {Li}_{2}\left (\frac {x^{2}}{c}\right )}{2} & \text {for}\: \frac {1}{\left |{x}\right |} < 1 \wedge \left |{x}\right | < 1 \\\log {\left (c \right )} \log {\left (x \right )} + i \pi \log {\left (x \right )} - \frac {\operatorname {Li}_{2}\left (\frac {x^{2}}{c}\right )}{2} & \text {for}\: \left |{x}\right | < 1 \\- \log {\left (c \right )} \log {\left (\frac {1}{x} \right )} - i \pi \log {\left (\frac {1}{x} \right )} - \frac {\operatorname {Li}_{2}\left (\frac {x^{2}}{c}\right )}{2} & \text {for}\: \frac {1}{\left |{x}\right |} < 1 \\- {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x} \right )} \log {\left (c \right )} - i \pi {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x} \right )} + {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x} \right )} \log {\left (c \right )} + i \pi {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x} \right )} - \frac {\operatorname {Li}_{2}\left (\frac {x^{2}}{c}\right )}{2} & \text {otherwise} \end {cases} - \frac {\log {\left (\frac {x^{2}}{c} \right )} \log {\left (- c + x^{2} \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.34, size = 10, normalized size = 0.62 \begin {gather*} \frac {{\mathrm {Li}}_{\mathrm {2}}\left (\frac {x^2}{c}\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________